<!DOCTYPE html>
<HTML>
<HEAD>
	<TITLE>ztree最简demo</TITLE>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8">

	<link rel="stylesheet" href="http://www.treejs.cn/v3/css/zTreeStyle/zTreeStyle.css" type="text/css">
	<script type="text/javascript" src="http://www.treejs.cn/v3/js/jquery-1.4.4.min.js"></script>
	<script type="text/javascript" src="http://www.treejs.cn/v3/js/jquery.ztree.core.js"></script>
	<SCRIPT type="text/javascript">

		var setting = {};
		var zNodes = [
			{
				name:"一级",open:true,
				children:[
					{
						name:"二级",open:true,
						children:[
							{name:"三级1"},
							{name:"三级2"},
							{name:"三级3"}
						]
					}
				]
			}
		];

		$(document).ready(function(){
			$.fn.zTree.init($("#treeDemo"),setting,zNodes);
		});
	</SCRIPT>
</HEAD>

<BODY>


	<div class="zTreeDemoBackground">
		<ul id="treeDemo" class="ztree"></ul>
	</div>
	
</BODY>
</HTML>